<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="keywords" content="系统首页">
    <meta name="description" content="系统首页">
    <title>河南方正智慧大数据产业有限公司</title>
    <link rel="stylesheet" href="plugin/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/index_style.css">
    <link rel="stylesheet" href="plugin/slideBox/css/slideBox.css">
    <link rel="stylesheet" type="text/css" href="css/timeaxis.css">
    <!--
        <script type="text/javascript" src="plugin/jquery-3.2.1-dist/jquery.min.js"></script>
    -->
</head>
<body>
<!-- topbar -->
<div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="topbar">
                <div class="mc">
                    <!--<a href="">English</a> <b>|</b> <a href="" class="cur">简体中文</a> <b>|</b> -->
                    <a  class="cur" onclick="window.open('/login')">管理入口</a> <b></b>
                    <form class="form-inline">
                        <div class="form-group">
                            <input type="text" class="form-control" id="edtsearch" placeholder="请输入关键字">
                            <button type="submit" class="btn btn-primary btn-xs">GO</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- navbar -->
    <div class="row" id="menu">
        <div class="col-md-12">
            <div class="navbar1">
                <div class="mc">
                    <a class="logo"></a>
                    <div class="navmenu1">
                        <!--<span class="tx_2"><a href="">首页</a></span>-->
                        <!--//产品解决方案-->
                        <!--<span tid="1"> <a href="/products/">产品解决方案</a></span>-->
                        <!--//产品解决方案-->
                        <!--<span tid="2"><a href="/case/">成功案例</a></span>-->
                        <!--//新闻中心-->
                        <!--<span tid="3"><a href="/news/">新闻中心</a></span>-->
                        <!--//项目动态-->
                        <!--<span tid="4"><a href="news/news_index.html?type=3">项目动态</a></span>
                        &lt;!&ndash;//客户服务&ndash;&gt;
                        <span tid="5"><a href="news/news_index.html?type=4">客户服务</a></span>
                        &lt;!&ndash;//关于我们&ndash;&gt;
                        <span tid="6"> <a href="news/news_index.html?type=5">关于我们</a></span>-->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- SlideBox -->
    <!--<iframe src="html/slide/index.html" width="100%" height="527px" frameborder="0" marginheight="0px"></iframe>-->
    <!-- News -->

    <!-- Case -->

    <!-- TimeAxis -->

    <!-- footer -->
    <div class="container" >
        <div class="form row">
            <div class="form-horizontal col-md-offset-3" id="login_form">
                <h3 class="form-title">LOGIN</h3>
                <div class="col-md-5">
                    <div class="form-group">
                        <i class="fa fa-user fa-lg"></i>
                        <input class="form-control required" type="text" placeholder="Username" id="username" name="username" autofocus="autofocus" maxlength="20"/>
                    </div>
                    <div class="form-group">
                        <i class="fa fa-lock fa-lg"></i>
                        <input class="form-control required" type="password" placeholder="Password" id="password" name="password" maxlength="8"/>
                    </div>
                    <div class="form-group">
                        <label class="checkbox">
                            <input type="checkbox" name="remember" value="1"/>记住我
                        </label>
                    </div>
                    <div class="form-group col-md-offset-9">
                        <button type="submit" class="btn btn-success pull-right" name="submit">登录</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="footer">
        <ul class="mc mc-liststyle">
            <!--<li class="col1">
                <h3>关于我们</h3>
            </li>
            <li class="col1">
                <div class="nav2">
                    <a href="/">首页</a>
                    <a href="/products/">产品解决方案</a>
                    <a href="/case/">成功案例</a>
                    <a href="/news/">新闻中心</a>
                    <a href="/service/">客户服务</a>
                    <a href="/about/company">关于我们</a>
                    <a href="/recruitment/">招贤纳士</a>
                    <a href="/a/CEO/">CEO观点</a>
                </div>
            </li>-->
        </ul>
    </div>
    <!-- CopyRight -->
    <div class="copyright">
        © 2019 - Copyright Hennan Founder CO.LTD - All Rights Reserved　,Designed by ZKY
    </div>


</div>

<script src="plugin/slideBox/js/jQuery2-1.js"></script>
<script type="text/javascript" src="js/index_js.js"></script>
<script type="text/javascript" src="plugin/slideBox/js/slideBox.js"></script>
<script type="text/javascript" src="js/timeaxis.js"></script>
<script type="text/javascript">
    $(function () {
        $.post("/webContent/content/list", { type: "1", pageNum: "1",pageSize:"3",orderByColumn:"contentTime",isAsc:"desc"},
            function(data){
                var html = getNewsHtml(data.rows[0])+getNewsHtml(data.rows[1])+getNewsHtml(data.rows[2]);
                $("#news_list").html(html);
            },"json");
    })
    function getNewsHtml(row) {
        var mon = parseInt(row.contentTime.substr(5,2));
        if(mon==1){
            mon = "一";
        }else if(mon==2){
            mon = "二"
        }else if(mon==3){
            mon = "三"
        }else if(mon==4){
            mon = "四"
        }else if(mon==5){
            mon = "五"
        }else if(mon==6){
            mon = "六"
        }else if(mon==7){
            mon = "七"
        }else if(mon==8){
            mon = "八"
        }else if(mon==9){
            mon = "九"
        }else if(mon==10){
            mon = "十"
        }else if(mon==11){
            mon = "十一"
        }else if(mon==12){
            mon = "十二"
        }
        return "<div class=\"row row-margin\">\n" +
        "                        <div class=\"col-md-3\">\n" +
        "                            <div class=\"span-date\">\n" +
        "                                <b>"+row.contentTime.substr(8,2)+"</b><br>\n" +
        "                                <i>"+mon+"月</i>\n" +
        "                            </div>\n" +
        "                        </div>\n" +
        "                        <div class=\"col-md-9\" onclick=\"window.open('news/news_index.html?new_id="+row.id+"')\">\n" +
        "                            <div class=\"span-text\">\n" +
        "                                <a class=\"grid-link\" href=\"#\">\n" +
        "                                    <h4>"+row.title+"</h4>\n" +
        "                                    <p>"+row.depict+"</p>\n" +
        "                                </a>\n" +
        "                            </div>\n" +
        "                        </div>\n" +
        "                    </div>"
    }
</script>
</body>
</html>